↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
SUBSET_IN(.(X, Xs), Ys) → U21(X, Xs, Ys, member_in(X, Ys))
SUBSET_IN(.(X, Xs), Ys) → MEMBER_IN(X, Ys)
MEMBER_IN(X, .(Y, Xs)) → U11(X, Y, Xs, member_in(X, Xs))
MEMBER_IN(X, .(Y, Xs)) → MEMBER_IN(X, Xs)
U21(X, Xs, Ys, member_out(X, Ys)) → U31(X, Xs, Ys, subset_in(Xs, Ys))
U21(X, Xs, Ys, member_out(X, Ys)) → SUBSET_IN(Xs, Ys)
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
SUBSET_IN(.(X, Xs), Ys) → U21(X, Xs, Ys, member_in(X, Ys))
SUBSET_IN(.(X, Xs), Ys) → MEMBER_IN(X, Ys)
MEMBER_IN(X, .(Y, Xs)) → U11(X, Y, Xs, member_in(X, Xs))
MEMBER_IN(X, .(Y, Xs)) → MEMBER_IN(X, Xs)
U21(X, Xs, Ys, member_out(X, Ys)) → U31(X, Xs, Ys, subset_in(Xs, Ys))
U21(X, Xs, Ys, member_out(X, Ys)) → SUBSET_IN(Xs, Ys)
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
MEMBER_IN(X, .(Y, Xs)) → MEMBER_IN(X, Xs)
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
MEMBER_IN(X, .(Y, Xs)) → MEMBER_IN(X, Xs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PrologToPiTRSProof
MEMBER_IN(.(Y, Xs)) → MEMBER_IN(Xs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
SUBSET_IN(.(X, Xs), Ys) → U21(X, Xs, Ys, member_in(X, Ys))
U21(X, Xs, Ys, member_out(X, Ys)) → SUBSET_IN(Xs, Ys)
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
SUBSET_IN(.(X, Xs), Ys) → U21(X, Xs, Ys, member_in(X, Ys))
U21(X, Xs, Ys, member_out(X, Ys)) → SUBSET_IN(Xs, Ys)
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
U21(Ys, member_out(X)) → SUBSET_IN(Ys)
SUBSET_IN(Ys) → U21(Ys, member_in(Ys))
member_in(.(X, Xs)) → member_out(X)
member_in(.(Y, Xs)) → U1(member_in(Xs))
U1(member_out(X)) → member_out(X)
member_in(x0)
U1(x0)
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), U1(member_in(x1)))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), member_out(x0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ PrologToPiTRSProof
U21(Ys, member_out(X)) → SUBSET_IN(Ys)
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), U1(member_in(x1)))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), member_out(x0))
member_in(.(X, Xs)) → member_out(X)
member_in(.(Y, Xs)) → U1(member_in(Xs))
U1(member_out(X)) → member_out(X)
member_in(x0)
U1(x0)
U21(.(z0, z1), member_out(z0)) → SUBSET_IN(.(z0, z1))
U21(.(z0, z1), member_out(x1)) → SUBSET_IN(.(z0, z1))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ PrologToPiTRSProof
U21(.(z0, z1), member_out(z0)) → SUBSET_IN(.(z0, z1))
U21(.(z0, z1), member_out(x1)) → SUBSET_IN(.(z0, z1))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), U1(member_in(x1)))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), member_out(x0))
member_in(.(X, Xs)) → member_out(X)
member_in(.(Y, Xs)) → U1(member_in(Xs))
U1(member_out(X)) → member_out(X)
member_in(x0)
U1(x0)
U21(.(z0, z1), member_out(z0)) → SUBSET_IN(.(z0, z1))
U21(.(z0, z1), member_out(x1)) → SUBSET_IN(.(z0, z1))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), U1(member_in(x1)))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), member_out(x0))
member_in(.(X, Xs)) → member_out(X)
member_in(.(Y, Xs)) → U1(member_in(Xs))
U1(member_out(X)) → member_out(X)
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
SUBSET_IN(.(X, Xs), Ys) → U21(X, Xs, Ys, member_in(X, Ys))
SUBSET_IN(.(X, Xs), Ys) → MEMBER_IN(X, Ys)
MEMBER_IN(X, .(Y, Xs)) → U11(X, Y, Xs, member_in(X, Xs))
MEMBER_IN(X, .(Y, Xs)) → MEMBER_IN(X, Xs)
U21(X, Xs, Ys, member_out(X, Ys)) → U31(X, Xs, Ys, subset_in(Xs, Ys))
U21(X, Xs, Ys, member_out(X, Ys)) → SUBSET_IN(Xs, Ys)
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
SUBSET_IN(.(X, Xs), Ys) → U21(X, Xs, Ys, member_in(X, Ys))
SUBSET_IN(.(X, Xs), Ys) → MEMBER_IN(X, Ys)
MEMBER_IN(X, .(Y, Xs)) → U11(X, Y, Xs, member_in(X, Xs))
MEMBER_IN(X, .(Y, Xs)) → MEMBER_IN(X, Xs)
U21(X, Xs, Ys, member_out(X, Ys)) → U31(X, Xs, Ys, subset_in(Xs, Ys))
U21(X, Xs, Ys, member_out(X, Ys)) → SUBSET_IN(Xs, Ys)
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
MEMBER_IN(X, .(Y, Xs)) → MEMBER_IN(X, Xs)
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
MEMBER_IN(X, .(Y, Xs)) → MEMBER_IN(X, Xs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
MEMBER_IN(.(Y, Xs)) → MEMBER_IN(Xs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
SUBSET_IN(.(X, Xs), Ys) → U21(X, Xs, Ys, member_in(X, Ys))
U21(X, Xs, Ys, member_out(X, Ys)) → SUBSET_IN(Xs, Ys)
subset_in([], Ys) → subset_out([], Ys)
subset_in(.(X, Xs), Ys) → U2(X, Xs, Ys, member_in(X, Ys))
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
U2(X, Xs, Ys, member_out(X, Ys)) → U3(X, Xs, Ys, subset_in(Xs, Ys))
U3(X, Xs, Ys, subset_out(Xs, Ys)) → subset_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
SUBSET_IN(.(X, Xs), Ys) → U21(X, Xs, Ys, member_in(X, Ys))
U21(X, Xs, Ys, member_out(X, Ys)) → SUBSET_IN(Xs, Ys)
member_in(X, .(X, Xs)) → member_out(X, .(X, Xs))
member_in(X, .(Y, Xs)) → U1(X, Y, Xs, member_in(X, Xs))
U1(X, Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
U21(Ys, member_out(X, Ys)) → SUBSET_IN(Ys)
SUBSET_IN(Ys) → U21(Ys, member_in(Ys))
member_in(.(X, Xs)) → member_out(X, .(X, Xs))
member_in(.(Y, Xs)) → U1(Y, Xs, member_in(Xs))
U1(Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
member_in(x0)
U1(x0, x1, x2)
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), U1(x0, x1, member_in(x1)))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), member_out(x0, .(x0, x1)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
U21(Ys, member_out(X, Ys)) → SUBSET_IN(Ys)
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), member_out(x0, .(x0, x1)))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), U1(x0, x1, member_in(x1)))
member_in(.(X, Xs)) → member_out(X, .(X, Xs))
member_in(.(Y, Xs)) → U1(Y, Xs, member_in(Xs))
U1(Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
member_in(x0)
U1(x0, x1, x2)
U21(.(z0, z1), member_out(z0, .(z0, z1))) → SUBSET_IN(.(z0, z1))
U21(.(z0, z1), member_out(x1, .(z0, z1))) → SUBSET_IN(.(z0, z1))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), member_out(x0, .(x0, x1)))
U21(.(z0, z1), member_out(z0, .(z0, z1))) → SUBSET_IN(.(z0, z1))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), U1(x0, x1, member_in(x1)))
U21(.(z0, z1), member_out(x1, .(z0, z1))) → SUBSET_IN(.(z0, z1))
member_in(.(X, Xs)) → member_out(X, .(X, Xs))
member_in(.(Y, Xs)) → U1(Y, Xs, member_in(Xs))
U1(Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))
member_in(x0)
U1(x0, x1, x2)
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), member_out(x0, .(x0, x1)))
U21(.(z0, z1), member_out(z0, .(z0, z1))) → SUBSET_IN(.(z0, z1))
SUBSET_IN(.(x0, x1)) → U21(.(x0, x1), U1(x0, x1, member_in(x1)))
U21(.(z0, z1), member_out(x1, .(z0, z1))) → SUBSET_IN(.(z0, z1))
member_in(.(X, Xs)) → member_out(X, .(X, Xs))
member_in(.(Y, Xs)) → U1(Y, Xs, member_in(Xs))
U1(Y, Xs, member_out(X, Xs)) → member_out(X, .(Y, Xs))